home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2003 March / DPPCPRO0303.ISO / Components / Microsoft ASP / _SETUP.1 / ASPWizard.jar / asp / wizard / def / DefAbstract.class (.txt) next >
Encoding:
Java Class File  |  1998-11-20  |  1.9 KB  |  58 lines

  1. package asp.wizard.def;
  2.  
  3. import java.awt.Point;
  4.  
  5. public class DefAbstract {
  6.    public static final int TRUE = 0;
  7.    public static final int FALSE = 1;
  8.    private String _name;
  9.    private Point _location = new Point(0, 0);
  10.    private boolean _placed;
  11.    private DefQuery _defQuery;
  12.    private DefCollection _parent;
  13.  
  14.    public void setDefQuery(DefQuery defQuery) {
  15.       this._defQuery = defQuery;
  16.    }
  17.  
  18.    public DefQuery getDefQuery() {
  19.       return this._defQuery;
  20.    }
  21.  
  22.    public String getName() {
  23.       return this._name;
  24.    }
  25.  
  26.    public void setName(String name) {
  27.       this._name = name;
  28.    }
  29.  
  30.    public Point getLocation() {
  31.       return new Point(this._location);
  32.    }
  33.  
  34.    public void setLocation(Point pos) {
  35.       this._location = new Point(pos);
  36.    }
  37.  
  38.    public void setPlaced(boolean placed) {
  39.       this._placed = placed;
  40.    }
  41.  
  42.    public boolean getPlaced() {
  43.       return this._placed;
  44.    }
  45.  
  46.    public DefCollection getParent() {
  47.       return this._parent;
  48.    }
  49.  
  50.    public void setParent(DefCollection defCollection) {
  51.       this._parent = defCollection;
  52.    }
  53.  
  54.    public String getBaseName() {
  55.       return "AbstractType";
  56.    }
  57. }
  58.